package com.bw.module_home.model.service

import com.bw.lib_net.RetrofitManager
import com.bw.lib_net.entity.ResponseEntity
import com.bw.module_home.model.api.FocusApi
import com.bw.module_home.model.entity.FocusEntity
import retrofit2.http.Query

/**
 * @Author : ZhouZiYao
 * @Time : On 2023/11/30 08:55
 * @Description :
 */
class FocusService {

    val api: FocusApi by lazy {
        RetrofitManager.instance.createService(FocusApi::class.java)
    }

    suspend fun focuse(focuseUserid:Int, focusedUserid:Int): ResponseEntity<FocusEntity>{
        return api.focuse(focuseUserid, focusedUserid)
    }

}